package com.huatai.dataservice.panel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 产品运行记录表
 * </p>
 *
 * @author lxc
 * @since 2022-11-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_product_operation_record_dd")
@ApiModel(value="TbProductOperationRecordDd对象", description="产品运行记录表")
public class TbProductOperationRecordDd implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

	@ApiModelProperty(value = "运行时间")
	@JsonFormat(
		pattern = "yyyy-MM-dd HH:mm:ss SSS",
		timezone = "GMT+8"
	)
	private Date time;

	@ApiModelProperty(value = "试验id")
	@TableField(value = "trialId")
	private String trialId;

	@ApiModelProperty(value = "产品id")
	@TableField(value = "productId")
	private String productId;

	@ApiModelProperty(value = "深度")
	@TableField(value = "hight")
	private String hight;

	@ApiModelProperty(value = "经度")
	@TableField(value = "lon")
	private String lon;

	@ApiModelProperty(value = "纬度")
	@TableField(value = "lat")
	private String lat;

	@ApiModelProperty(value = "速度")
	@TableField(value = "speed")
	private String speed;

	@ApiModelProperty(value = "加速度")
	@TableField(value = "acceleration")
	private String acceleration;

	@ApiModelProperty(value = "横滚角")
	@TableField(value = "hg")
	private String hg;

	@ApiModelProperty(value = "横滚角速度")
	@TableField(value = "hgV")
	private String hgV;

	@ApiModelProperty(value = "横滚角加速度")
	@TableField(value = "hgA")
	private String hgA;

	@ApiModelProperty(value = "俯仰角")
	@TableField(value = "fy")
	private String fy;

	@ApiModelProperty(value = "俯仰角速度")
	@TableField(value = "fyV")
	private String fyV;

	@ApiModelProperty(value = "俯仰角加速度")
	@TableField(value = "fyA")
	private String fyA;

	@ApiModelProperty(value = "偏航角")
	@TableField(value = "ph")
	private String ph;

	@ApiModelProperty(value = "说明")
	@TableField(value = "remark")
	private String remark;

    /*@ApiModelProperty(value = "试验id")
    private String trialId;

    @ApiModelProperty(value = "产品id")
    private String productId;

    @ApiModelProperty(value = "深度")
    private String hight;

    @ApiModelProperty(value = "经度")
    private String lon;

    @ApiModelProperty(value = "纬度")
    private String lat;

    @ApiModelProperty(value = "速度")
    private String speed;

    @ApiModelProperty(value = "加速度")
    private String acceleration;

    @ApiModelProperty(value = "横滚角")
    private String hg;

    @ApiModelProperty(value = "横滚角速度")
    private String hgV;

    @ApiModelProperty(value = "横滚角加速度")
    private String hgA;

    @ApiModelProperty(value = "俯仰角")
    private String fy;

    @ApiModelProperty(value = "俯仰角速度")
    private String fyV;

    @ApiModelProperty(value = "俯仰角加速度")
    private String fyA;

    @ApiModelProperty(value = "偏航角")
    private String ph;

    @ApiModelProperty(value = "说明")
    private String remark;*/


}
